//
//  WGBAlertManager.h
//  WebClipBoardDemo
//
//  Created by 王贵彬  on 2023/5/12.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "WGBAlertView.h"

NS_ASSUME_NONNULL_BEGIN
/**
 
 UIView *demoView = [[UIView alloc] initWithFrame:CGRectMake(30, 250, 300, 300)];
 demoView.backgroundColor = [UIColor colorWithRed:arc4random()%256/255.0f green:arc4random()%256/255.0f  blue:arc4random()%256/255.0f alpha:1.0f];
 [WGBAlertManager manager].delay = 0.3;
 [WGBAlertManager manager].alertViewsArray = self.arrM; //@[demoView].mutableCopy;
 [[WGBAlertManager manager] show];
 */


@interface WGBAlertManager : NSObject

+ (WGBAlertManager *)manager;


/// 设置批量弹窗视图内容, 根据数组的先后顺序依次弹出
@property (nonatomic,strong) NSArray<UIView *> *alertViewsArray;
/// 设置单个视图弹窗内容 与批量接口alertViewsArray设置为一个元素的效果一致 
@property (nonatomic,strong) UIView *contentView;
///遮罩颜色 默认黑色半透明
@property (nonatomic,strong) UIColor *maskColor;
/// 动画类型
@property (nonatomic,assign) WGBAlertViewAnimationType animationType;


- (void)show;
- (void)showAtHostView:(UIView *_Nullable)hostView;
- (void)dismiss;

@end

NS_ASSUME_NONNULL_END
